/**
 * Created by zyl on 2017/7/26.
 */
import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { ExhibitionComponent } from "./exhibition.component";


const routes: Routes = [{
  path: '',
  component: ExhibitionComponent,
  children: [
    {path: '', redirectTo: 'group-overview',pathMatch: 'full'},
    {path: 'group-overview', loadChildren: 'app/pages/exhibition/children/group-overview/group-overview.module#GroupOverviewModule'},
    {path: 'regional-overview/:id', loadChildren: 'app/pages/exhibition/children/regional-overview/regional-overview.module#RegionalOverviewModule'},
    {path: 'station-overview/:id', loadChildren: 'app/pages/exhibition/children/station-overview/station-overview.module#StationOverviewModule'},
  ]
}];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})

export class ExhibitionRoutingModule { }
